<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
<head>
	<meta charset="utf-8">
	<title>文章列表--layui后台管理模板 2.0</title>
	<meta name="renderer" content="webkit">
	<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
	<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
	<meta name="apple-mobile-web-app-status-bar-style" content="black">
	<meta name="apple-mobile-web-app-capable" content="yes">
	<meta name="format-detection" content="telephone=no">
	<link rel="stylesheet" href="/layui/css/layui.css" media="all" />
	<link rel="stylesheet" href="/css/public.css" media="all" />
</head>
<body class="childrenBody">
<%--<div class="layui-fluid" id="LAY-app-table">
	<div class="layui-card layui-row layui-col-space15" style="padding: 15px;">
		<div class="orgbox layui-col-md2">
			<ul id="demo2" class="layui-box layui-tree"><li><i class="layui-icon layui-tree-spread"></i><a href="javascript:;"><i class="layui-icon layui-tree-branch"></i><cite>常用文件夹</cite></a><ul class=""><li><a href="http://www.layui.com/" target="_blank"><i class="layui-icon layui-tree-leaf"></i><cite>所有未读（设置跳转）</cite></a></li><li><a href="javascript:;"><i class="layui-icon layui-tree-leaf"></i><cite>置顶邮件</cite></a></li><li><a href="javascript:;"><i class="layui-icon layui-tree-leaf"></i><cite>标签邮件</cite></a></li></ul></li><li data-spread="true"><i class="layui-icon layui-tree-spread"></i><a href="javascript:;"><i class="layui-icon layui-tree-branch"></i><cite>事业部</cite></a><ul class="layui-show"><li data-spread="true"><i class="layui-icon layui-tree-spread"></i><a href="javascript:;"><i class="layui-icon layui-tree-branch"></i><cite>研发部</cite></a><ul class="layui-show"><li><a href="javascript:;"><i class="layui-icon layui-tree-leaf"></i><cite>前端</cite></a></li><li><a href="javascript:;"><i class="layui-icon layui-tree-leaf"></i><cite>所有</cite></a></li></ul></li><li><a href="javascript:;"><i class="layui-icon layui-tree-leaf"></i><cite>产品部</cite></a></li></ul></li></ul>
		</div>
		<div class="site-tips layui-col-md10" id="demo2-view">
			<div id="viewForm">
				点击左侧菜单，右侧将会显示当前点击节点的对应内容
			</div>
		</div>
	</div>
</div>--%>
<form class="layui-form" style="width:80%;">
	<div class="layui-form-item layui-row layui-col-xs12">

		<div class="layui-input-block">
			<input type="hidden" class="layui-input id"  placeholder="id">
		</div>
	</div>
	<div class="layui-form-item layui-row layui-col-xs12">
		<label class="layui-form-label">新闻标题</label>
		<div class="layui-input-block">
			<input type="text" class="layui-input title" lay-verify="required" placeholder="请输入标题">
		</div>
	</div>

	<div class="layui-form-item">
		<div class="layui-col-lg6">
			<label class="layui-form-label">新闻类型：</label>
			<div class="layui-input-inline">
				<input name="newsTypeId" type="text" id="tree-select" lay-filter="tree" value="" class="layui-input">
			</div>
		</div>
	</div>

	<div class="layui-form-item layui-row layui-col-xs12">
		<label class="layui-form-label">新闻来源</label>
		<div class="layui-input-block">
			<input type="text" class="layui-input source" lay-verify="required" placeholder="请输入新闻来源">
		</div>
	</div>
	<div class="layui-form-item layui-row layui-col-xs12">
		<label class="layui-form-label">新闻简介</label>
		<div class="layui-input-block">
			<input type="text" class="layui-input brief" lay-verify="required" placeholder="请输入新闻简介">
		</div>
	</div>

	<div class="layui-row">
		<div class="magb15 layui-col-md4 layui-col-xs12">
			<label class="layui-form-label">新闻状态</label>
			<div class="layui-input-block isHot">
				<input type="radio" name="isHot" value="0" title="普通新闻" />
				<input type="radio" name="isHot" value="1" title="热门新闻"/>
			</div>
		</div>
	</div>
	<div class="layui-col-md3 layui-col-xs12 user_right">
		<div class="layui-upload-list">
			<input type="hidden" name="pic" id="photo" class="pic">
			<img width="200" height="200" name="uploadFile" class="layui-upload-img userFaceBtn userAvatar" id="uploadImage">
		</div>
		<button type="button" class="layui-btn layui-btn-primary userFaceBtn"><i class="layui-icon">&#xe67c;</i> 此处上传图片</button>
	</div>


    <%--<div class="layui-form-item layui-row layui-col-xs12">
        <label class="layui-form-label">新闻详情</label>
        <div class="layui-input-block">
            <textarea placeholder="请输入新闻详情" class="layui-textarea newsDetail" name="newsDetail"></textarea>
        </div>
    </div>--%>


	<div class="layui-form-item layui-row layui-col-xs12">
		<br/>
		<label class="layui-form-label">新闻详情</label>
		<div class="layui-input-block">
			<textarea placeholder="请输入新闻详情1" id="newsDetail" class="layui-textarea newsDetail" name="newsDetail"></textarea>
		</div>
	</div>

	<div class="layui-form-item layui-row layui-col-xs12">
		<label class="layui-form-label">创建人</label>
		<div class="layui-input-block">
			<input type="text" class="layui-input createBy" lay-verify="required" placeholder="请输入创建人">
		</div>
	</div>
	<div class="layui-form-item layui-row layui-col-xs12">
		<label class="layui-form-label">备注信息</label>
		<div class="layui-input-block">
			<input type="text" class="layui-input remarks" lay-verify="required" placeholder="请输入新闻简介">
		</div>
	</div>
	<div class="layui-form-item layui-row layui-col-xs12">
		<div class="layui-input-block">
			<button id="submitButton" class="layui-btn layui-btn-sm" lay-submit="" lay-filter="addUser">立即添加</button>
			<button type="reset" class="layui-btn layui-btn-sm layui-btn-primary">取消</button>
		</div>
	</div>
</form>
<script type="text/javascript" src="/layui/layui.js"></script>
<script src="/layui/mymodule/common.js"></script>
<script type="text/javascript" src="/js/agriecom_news/newsAdd.js"></script>
</body>
</html>